<?php 

/**
* @current userattentionrecord.php
* @author   LiuYang <liu_yang@haibao.com>
* @date 2016年4月26日 下午5:32:14
*/

namespace haibao\user\model\data;

class UserAttentionRecord extends Base{
    
    const STATUS_ISOK = 0;
    const STATUS_ISFALSE = 1;
    
    const USERTYPE_USER = 0;
    const USERTYPE_BLOG = 1;
    
    const ISMUTUAL_ISFALSE = 0;
    const ISMUTUAL_ISOK = 1;
    
    /**
     * 用户ID
     */
    public $UserId;
    
    /**
     * 被关注用户ID
     */
    public $AttentionUserId;
    
    /**
     * 状态0 已关注 1 取消关注
     */
    public $Status;
    
    /**
     * 1博主0普通用户
     */
    public $UserType;
    
    /**
     * 是否互相关注，0否1是
     */
    public $IsMutual;
    
    /**
     * 关注日期
     */
    public $CreateTime;
    
    public $UserList;
    
    public $UserProFiles;
    
    public $NickName; 
  
    
    public function __construct(){
        parent::__construct();
        
        $this->intField('UserId', 'UserId',true);
        $this->intField('AttentionUserId', 'AttentionUserId',true);
        $this->intField('Status', 'Status',true);
        $this->intField('UserType', 'UserType',true);
        $this->intField('IsMutual', 'IsMutual');
        $this->dateField('CreateTime', 'CreateTime',true);
        
        $this->setTableName('UserAttentionRecord');
    }
}

?>